package com.zbkj.crmeb.handler.orderproduct;


import com.alibaba.fastjson.JSONObject;
import com.zbkj.crmeb.plat.by.dto.Result;

/**
 * @author: wsl
 * @date: 2024/3/4 0004 21:59
 * @ClassName: OrderProductInterface
 */
public interface OrderProductInterface {
    final static ThreadLocal<JSONObject> THREAD_LOCAL = new ThreadLocal<>();

    boolean doPreCheck(OrderProductContext context);

    Result doHandler(OrderProductContext context);

    void doAfter(OrderProductContext context,Result result);

    Result execute(OrderProductContext context);
}
